<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <link rel="stylesheet" type="text/css" href="styles.css">
</head>

<body>
    <div class="container">
        <h2>注册</h2>
        <form method="post" th:action="@{/user/register}">
            <div class="form-group">
                <label for="id">学号</label>
                <input type="text" id="id" name="id" placeholder="请输入学号">
            </div>
            <div class="form-group">
                <label for="name">姓名</label>
                <input type="text" id="name" name="name" placeholder="请输入姓名">
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" name="password" placeholder="请输入密码">
            </div>
            <div class="form-group">
                <label for="school">学校</label>
                <input type="text" id="school" name="school" placeholder="请输入学校">
            </div>
            <div class="form-group">
                <label for="major">专业</label>
                <input type="text" id="major" name="major" placeholder="请输入专业">
            </div>
            <div class="form-group">
                <label for="email">邮箱</label>
                <input type="text" id="email" name="email" placeholder="请输入邮箱">
            </div>
            <button type="submit" class="btn">注册</button>
        </form>
        <div class="login-link">
            已有账号？<a href="login">登录</a>
        </div>
    </div>
</body>

</html>